package chpn.id;

public class DefaultWorkerIdGenerator implements WorkerIdGenerator {
    static long id=0;
    public long getNewWorkerId(){
        id = (id +1 ) & 0xF;
        return id;
    }
}
